package cn.zn.modules.invoice.dao;

import cn.zn.modules.invoice.entity.InvoiceDetailEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发票信息
 *
 * @author zn
 * @email zhunahao@qq.com
 * @date 2020-04-08 22:07:19
 */
@Mapper
public interface InvoiceDetailDao extends BaseMapper<InvoiceDetailEntity> {
    List<InvoiceDetailEntity> queryPage(@Param("recordCode") String recordCode, @Param("page") IPage page);

    void insertRecord(@Param("invoiceId") Long invoiceId, @Param("recordCode") String recordCode);
}
